package org.whatisjava.action.result;

/**
 * 自己定义的result
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-2-1
 */

public class TestResultAction {
    private String msg;
    private String myName;

    public String getMyName() {
        return myName;
    }

    public void setMyName(String myName) {
        this.myName = myName;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String execute() {
        myName = "wangpeihu!";
        msg = "wangpeihu@live.com";
        return "success";
    }

}
